package demo1;

public class Test {
    public static void main(String[] args) {
        Phone phone1 = new Phone("苹果", 128, "ios", "白色");
        Phone phone2 = new Phone("小米", 256, "android", "金色");
        phone1.setStorage(256);
        int ret = phone1.getStorage();
        System.out.println(ret);
    }
}
